<template>
    <div class="content-box">
            <img class="loading-img"  alt="">
    </div>
</template>

<script>
function setRem() {
    const WIDTH = 750
    // 当前页面宽度相对于 750 宽的缩放比例，可根据自己需要修改
    const scale = document.documentElement.clientWidth / WIDTH;
    document.documentElement.style.fontSize = scale + 'px';
}
setRem();
window.onresize = setRem;
export default {
    created(){

    }
}
</script>

<style scoped>
.content-box{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loading-img{
    width: 550rem;
    height: 550rem;
}
</style>
